.PHONY:all
all:
	@cd compile_serve;\
	make;\
	cd -;\
	cd oj_serve;\
	make;\
	cd -;
.PHONY:output
output:
	@mkdir -p output/compile_serve;\
	mkdir -p output/oj_serve;\
	cp -rf compile_serve/temfile  output/compile_serve;\
	cp -rf compile_serve/compile_server output/compile_serve;\
	cp -rf oj_serve/conf  output/oj_serve;\
	cp -rf oj_serve/template_html  output/oj_serve;\
	cp -rf oj_serve/questions  output/oj_serve;\
	cp -rf oj_serve/wwwroot output/oj_serve;\
	cp -rf oj_serve/oj_server  output/oj_serve;

.PHONY:clean
clean:
	@cd compile_serve;\
	make clean;\
	cd -;\
	cd oj_serve;\
	make clean;\
	cd -;
	rm -rf output;
